package com.iyjhsoc.game.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iyjhsoc.game.domain.VO.TeamVO;
import com.iyjhsoc.game.domain.entity.TeamDO;
import com.iyjhsoc.game.domain.response.TeamResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TeamDAO extends BaseMapper<TeamDO> {

    List<TeamResponse> getTeamMatchHero(TeamVO vo);

    TeamDO getTeamByName(@Param("name") String name,@Param("gameId") String gameId);
}
